<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SysCity extends Model
{
    protected $table = 'sys_city';

    protected $primaryKey = 'id';

    public $timestamps = false;

    protected $fillable = [
        'id', 'name',
    ];

    public function province(){
        return $this->belongsTo(SysProvince::class,'province_id','id');
    }
}
